home *** CD-ROM | disk | FTP | other *** search
- | Install script for ArmTeX.
- | Hopefully robust enough to detect possible problems.
- | You need tar and gzip to do this installation.
-
- WimpSlot -min 1024K
-
- | Horrible hack to find CSD.
- %set Alias$__d %echo CWD = <FileSwitch$CurrentFilingSystem>:|<FileSwitch$<FileSwitch$CurrentFilingSystem>$CSD|>
- %RMEnsure UtilityModule 3.00 Set Alias$__d %echo RISC OS 2 - I can't read CSD. Hope you've got it right!
-
- %echo <22><0>
- %echo Before running this script you should have set the current directory
- %echo to be the one you want to install TeX into. If not, press Escape now!
- __d
- unset Alias$__d
- %echo
-
- %echo You need around 13Mb free space to install TeX using this script.
- %echo The installed copy is around 10Mb.
- %echo Free space:
- %free
- %echo
-
- %tar >null: 2>null:
- %echo Good, you have a version of tar in your Run$Path. I hope it's
- %echo Frank Lancaster's version, otherwise you may lose filetype info.
- %echo
-
- %gzip --version >&null:
- %echo OK, there's something called gzip there too. Looks like we're rolling!
- %echo
- %echo Press SPACE if everything looks OK, otherwise press ESCAPE and
- %echo re-run this when you have everything ready.
- %fx129, 0, 127
-
- %echo <22><0>Making a TeX directory.
- %cdir TeX
- %dir TeX
-
- %echo Let's extract the multi-volume tar file...
- %tar xvMf adfs::0.$.TEX
-
- %echo Great. Now to extract the gzipped files.
-
- %echo Unzipping fnts/tgz
- %gzip -d fnts/tgz
- %echo Untarring fnts
- %tar xvf fnts
- %echo Removing fnts
- %remove fnts
-
- %echo Unzipping fmts/tgz
- %gzip -d fmts/tgz
- %echo Untarring fmts
- %tar xvf fmts
- %echo Removing fmts
- %remove fmts
-
- %echo Unzipping inputs/tgz
- %gzip -d inputs/tgz
- %echo Untarring inputs
- %tar xvf inputs
- %echo Removing inputs
- %remove inputs
-
- %echo Unzipping bins/tgz
- %gzip -d bins/tgz
- %echo Untarring bins
- %tar xvf bins
- %echo Removing bins
- %remove bins
-
- %echo Unzipping dvivu/tgz
- %gzip -d dvivu/tgz
- %echo Untarring dvivu
- %tar xvf dvivu
- %echo Removing dvivu
- %remove dvivu
-
- %echo Unzipping doc/tgz
- %gzip -d doc/tgz
- %echo Untarring doc
- %tar xvf doc
- %echo Removing doc
- %remove doc
-
- %echo OK, that's it. You shouldn't have to alter anything now.
- %echo To run ArmTeX, you need to double click on TeXPaths to set
- %echo up the necessary paths and things, then you should be able to
- %echo TeXify things to your heart's content. Any changes which need
- %echo making should be minor ones to TeXPaths.
- %echo Good luck!
- %echo Alun (auj@aber.ac.uk)
-